package com.sentiment.nlpalgo.bean;

import java.util.ArrayList;
/*
 * @author liaozhenlin
 * @email 939899727@qq.com
 * 
 */
/*
 * 典型意见类comments返回结果保存形式
 * id ：典型意见组号
 * opinion：典型意见
 * list ：评论及上传id的list
 * num ：文档数目
 */

public class Comments {
	private int id;
	private String opinion;
	private ArrayList<String> list;
	private int num;
	
	
	public Comments() {
		super();
	}
	public Comments(int id, String opinion, ArrayList<String> list, int num) {
		super();
		this.id = id;
		this.opinion = opinion;
		this.list = list;
		this.num = num;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getOpinion() {
		return opinion;
	}
	public void setOpinion(String opinion) {
		this.opinion = opinion;
	}
	public ArrayList<String> getList() {
		return list;
	}
	public void setList(ArrayList<String> list) {
		this.list = list;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	@Override
	public String toString() {
		return "Comments [id=" + id + ", opinion=" + opinion + ", num=" + num + "]";
	}
	
	
}
